fix style
authorRobin Gloster <robin@loc-com.de>
Tue, 24 Feb 2015 12:12:05 +0000 (13:12 +0100)
committerRobin Gloster <robin@loc-com.de>
Tue, 24 Feb 2015 12:12:05 +0000 (13:12 +0100)
src/cargo/util/errors.rs

index 6869b347df8e5fbc27dcd25eba35b6d0ebd49dc5..6e368712e6ffb56e20e5355406a3b1b11f6b04ae 100644 (file)
@@ -338,7 +338,10 @@ pub fn human<S: fmt::Display>(error: S) -> Box<CargoError> {
     })
 }
 
-pub fn caused_human<S: fmt::Display, E: Error + Send + 'static>(error: S, cause: E) -> Box<CargoError> {
+pub fn caused_human<S, E>(error: S, cause: E) -> Box<CargoError>
+    where S: fmt::Display,
+          E: Error + Send + 'static
+{
     Box::new(ConcreteCargoError {
         description: error.to_string(),
         detail: None,